package com.ktgj.customer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 会员购卡未执行记录对象 customer_card_record
 * 
 * @author ruoyi
 * @date 2022-07-14
 */
public class CustomerCardRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long recordId;

    /** 卡唯一编号 */
    @Excel(name = "卡唯一编号")
    private String cardCode;

    /** 续费一年的价格 */
    @Excel(name = "续费一年的价格")
    private BigDecimal renewPrice;

    /** 会员卡号类型ID */
    @Excel(name = "会员卡号类型ID")
    private Long cardId;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long custormerId;

    /** 导入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "导入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operadate;

    /** 操作员ID */
    @Excel(name = "操作员ID")
    private Long operamanid;

    /** 0表示未续权益1表示权益已续 2表示续费记录作废 */
    @Excel(name = "0表示未续权益1表示权益已续 2表示续费记录作废")
    private String issyn;

    /** 待新建的保单号 */
    @Excel(name = "待新建的保单号")
    private String newguaranteeNo;

    /** （续费任务）执行日期
             */
    @Excel(name = "", readConverterExp = "续=费任务")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date executedate;

    /** 售卡部门 */
    @Excel(name = "售卡部门")
    private Long cardsolddeptid;

    private String cardSoldDeptName;

    /** 售卡员 */
    @Excel(name = "售卡员")
    private Long cardsoldemployeeid;

    private String cardSoldEmployeeName;

    /** business_order 主键关联ID */
    @Excel(name = "business_order 主键关联ID")
    private Long orderId;

    public String getCardSoldDeptName()
    {
        return cardSoldDeptName;
    }

    public void setCardSoldDeptName(String cardSoldDeptName)
    {
        this.cardSoldDeptName = cardSoldDeptName;
    }

    public String getCardSoldEmployeeName()
    {
        return cardSoldEmployeeName;
    }

    public void setCardSoldEmployeeName(String cardSoldEmployeeName)
    {
        this.cardSoldEmployeeName = cardSoldEmployeeName;
    }

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public String getCardCode()
    {
        return cardCode;
    }

    public void setCardCode(String cardCode)
    {
        this.cardCode = cardCode;
    }

    public BigDecimal getRenewPrice() {
        return renewPrice;
    }

    public void setRenewPrice(BigDecimal renewPrice) {
        this.renewPrice = renewPrice;
    }

    public void setCardId(Long cardId)
    {
        this.cardId = cardId;
    }

    public Long getCardId() 
    {
        return cardId;
    }
    public void setCustormerId(Long custormerId) 
    {
        this.custormerId = custormerId;
    }

    public Long getCustormerId() 
    {
        return custormerId;
    }
    public void setOperadate(Date operadate) 
    {
        this.operadate = operadate;
    }

    public Date getOperadate() 
    {
        return operadate;
    }
    public void setOperamanid(Long operamanid) 
    {
        this.operamanid = operamanid;
    }

    public Long getOperamanid() 
    {
        return operamanid;
    }

    public String getIssyn() {
        return issyn;
    }

    public void setIssyn(String issyn) {
        this.issyn = issyn;
    }

    public void setNewguaranteeNo(String newguaranteeNo)
    {
        this.newguaranteeNo = newguaranteeNo;
    }

    public String getNewguaranteeNo() 
    {
        return newguaranteeNo;
    }
    public void setExecutedate(Date executedate) 
    {
        this.executedate = executedate;
    }

    public Date getExecutedate() 
    {
        return executedate;
    }
    public void setCardsolddeptid(Long cardsolddeptid) 
    {
        this.cardsolddeptid = cardsolddeptid;
    }

    public Long getCardsolddeptid() 
    {
        return cardsolddeptid;
    }
    public void setCardsoldemployeeid(Long cardsoldemployeeid) 
    {
        this.cardsoldemployeeid = cardsoldemployeeid;
    }

    public Long getCardsoldemployeeid() 
    {
        return cardsoldemployeeid;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("cardCode", getCardCode())
            .append("renewPrice", getRenewPrice())
            .append("cardId", getCardId())
            .append("custormerId", getCustormerId())
            .append("operadate", getOperadate())
            .append("operamanid", getOperamanid())
            .append("issyn", getIssyn())
            .append("newguaranteeNo", getNewguaranteeNo())
            .append("executedate", getExecutedate())
            .append("cardsolddeptid", getCardsolddeptid())
            .append("cardsoldemployeeid", getCardsoldemployeeid())
            .append("remark", getRemark())
            .append("orderId", getOrderId())
            .toString();
    }
}
